Add a flatpak manifest for org.gtk.IconBrowser4
authorMatthias Clasen <mclasen@redhat.com>
Tue, 2 Apr 2019 00:31:17 +0000 (00:31 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 2 Apr 2019 00:33:05 +0000 (00:33 +0000)
And build it in ci.

.gitlab-ci.yml
build-aux/flatpak/org.gtk.IconBrowser4.json [new file with mode: 0644]

index d35315dccf64fbea0b00e085843db2f969c98aca..a29a7d52b0d59941b421400e7dcd9636bb1cf3ab 100644 (file)
@@ -63,6 +63,11 @@ flatpak:widget-factory:
     APPID: org.gtk.WidgetFactory4
   <<: *flatpak-defaults
 
+flatpak:icon-browser:
+  variables:
+    APPID: org.gtk.IconBrowser4
+  <<: *flatpak-defaults
+
 pages:
   image: registry.gitlab.gnome.org/gnome/gtk/master:v3
   stage: deploy 
diff --git a/build-aux/flatpak/org.gtk.IconBrowser4.json b/build-aux/flatpak/org.gtk.IconBrowser4.json
new file mode 100644 (file)
index 0000000..6dc46fc
--- /dev/null
@@ -0,0 +1,72 @@
+{
+    "app-id": "org.gtk.IconBrowser4",
+    "runtime": "org.gnome.Platform",
+    "runtime-version": "master",
+    "sdk": "org.gnome.Sdk",
+    "command": "gtk4-icon-browser",
+    "tags": ["devel", "development", "nightly"],
+    "desktop-file-name-prefix": "(Development) ",
+    "finish-args": [
+        "--device=dri",
+        "--share=ipc",
+        "--socket=fallback-x11",
+        "--socket=wayland",
+        "--talk-name=org.gtk.vfs", "--talk-name=org.gtk.vfs.*"
+    ],
+    "cleanup": [
+        "/include",
+        "/lib/pkgconfig", "/share/pkgconfig",
+        "/share/aclocal",
+        "/man", "/share/man", "/share/gtk-doc",
+        "*.la", ".a",
+        "/lib/girepository-1.0",
+        "/share/gir-1.0",
+        "/share/doc"
+    ],
+    "modules": [
+        {
+            "name" : "wayland",
+            "buildsystem" : "autotools",
+            "builddir" : true,
+            "config-opts" : [
+                "--disable-documentation"
+            ],
+            "sources" : [
+                {
+                    "type" : "git",
+                    "url" : "https://github.com/wayland-project/wayland.git"
+                }
+            ]
+        },
+        {
+            "name": "graphene",
+            "buildsystem": "meson",
+            "builddir": true,
+            "config-opts": [
+                "--libdir=/app/lib",
+                "-Dtests=false",
+                "-Dbenchmarks=false"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://github.com/ebassi/graphene.git"
+                }
+            ]
+        },
+        {
+            "name": "gtk",
+            "buildsystem": "meson",
+            "builddir": true,
+            "config-opts": [
+                "--libdir=/app/lib"
+            ],
+            "sources": [
+                {
+                    "type": "git",
+                    "url": "https://gitlab.gnome.org/GNOME/gtk.git"
+                }
+            ]
+        }
+    ]
+}